import * as article from './article';
import * as qiniu from './qiniu';
import * as search from './remote-search';
import * as role from './role';
import * as user from './user';
import * as remark from './remark';

const install = function(Vue, opts = {}) {
  Vue.prototype.$api = {
    ...user,
    ...role,
    ...search,
    ...qiniu,
    ...article,
    ...remark,
  };
};

export default {
  install,
};
